const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.userInfo.staffPhoto, //头像
  userId : state => state.user.userInfo.userId, //用户id
  name : state => state.user.userInfo.username, //用户名
  company : state => state.user.userInfo.company, //公司
}
export default getters
